package com.itheima.dto.page;

import com.itheima.entity.SysUser;
import com.itheima.entity.YddUser;
import lombok.Data;

import java.util.List;

/**
 * @author zhangpei
 * @ClassName MyPage
 * @date 2022/5/25/18:05
 */
@Data
public class MyPage<T> {
    //总条数
    private Long count;
    //总页数
    private Long totalPages;
    //一页多少个
    private Long pageSize;
    //当前页
    private Long currentPage;
    //分页数据
    private List<T> data;
}
